<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<%@ taglib prefix="sitemesh" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<!DOCTYPE html>
<html>
<head>
    <title><sitemesh:title/>-${fns:getConfig('productName')}</title>
    <%@include file="/WEB-INF/views/include/nhead.jsp" %>
    <sitemesh:head/>
</head>
<body class="background-dark" onload="javascript:{}">
<%@ include file="/WEB-INF/views/include/treepage.jsp" %>
<div class="logo">
    <h1><a href="javascript:;" style="margin-left:-45px; ">${fns:getConfig('productName')}</a></h1>
</div>
<div class="wrap">
    <header class="page-header">
        <div class="navbar">
            <ul class="nav navbar-nav navbar-right pull-right">
                <li class="h5" style="color: rgba(0, 0, 0, 0.38);margin-top: 11px;">您好，${fns:getUser().getName()}</li>
                <li class="divider"></li>
                <li class="hidden-xs dropdown">
                    <a href="#" title="用户设置" id="account" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i></a>
                    <ul id="account-menu" class="dropdown-menu account" role="menu">
                        <c:set var="menuList" value="${fns:getMenuList()}"/>
                        <c:forEach items="${menuList}" var="menu" varStatus="idxStatus">
                            <c:if test="${menu.id eq '29'&&menu.isShow eq '1'}">
                                <li role="presentation">
                                    <a href="${ctx}${menu.href}" onclick="pxTrigDlg(this.href);return false;" class="link">
                                        <i class="fa fa-user"></i>
                                        ${menu.name}
                                    </a>
                                </li>
                            </c:if>
                            <c:if test="${menu.id eq '30'&&menu.isShow eq '1'}">
                                <li role="presentation">
                                    <a href="${ctx}${menu.href}" onclick="pxTrigDlg(this.href);return false;" class="link">
                                        <i class="fa fa-pencil"></i>
                                        ${menu.name}
                                    </a>
                                </li>
                            </c:if>
                        </c:forEach>
                    </ul>
                </li>
                <li class="hidden-xs">
                    <a href="#" id="settings"></a>
                    <a class="navbar-minimalize  btn-primary" id="sider_hidden" ><i class="fa fa-bars"></i></a>
                </li>
                <li class="hidden-xs"><a href="${ctx}/logout" title="退出"><i class="fa fa-sign-out"></i></a></li>
            </ul>
        </div>
    </header>
    <sitemesh:body/>
    <div class="loader-wrap hiding hide">
        <i class="fa fa-circle-o-notch fa-spin"></i>
    </div>
</div>
<div id="tts_text" style="display: none">语音播报锚点</div>
</body>
</html>